define([
    "ngController"
],function (appAngular) {

    // 底部-组件最外层（外部）
    appAngular.directive("bimviewApiBottom", function () {
        return {
            restrict: "EA",
            replace: true,
            template: `<div class="BIMView-API-bottom">
                        <div bim-api-bottom></div>
					</div>`,
            link: function ($scope, $elem, attrs) {
                $elem.on("click", function () {
                    $scope.modelSliderShrink();
                    $scope.$apply();
                });
            }
        };
    });

    return appAngular;
});